

<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">

<style>

    .layui-card-header{
        font-size: 14px !important;
    }

</style>

<div class="layui-bg-gray" style="padding: 30px;">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">用ID :  {$info.user_id}</div>
                <div class="layui-card-header">用户名 :  {$info.uname}</div>
                <div class="layui-card-header">变更积分 :{$info.score} </div>
                <div class="layui-card-header">说明:    {$info.action}</div>
                <div class="layui-card-header">操作时间: {$info.create_time|date='Y-m-d h:i'}</div>
            </div>

        </div>

    </div>
</div>

<div style="width: 100%">
    <div  class="layui-btn layui-btn-normal"  style="width: 100%;margin:15px auto" onclick="doPrint()">  打印内容 </div>

</div>


<script>



    function doPrint() {

        var html=$(".layui-bg-gray").html();
        var newWin = window.open('', '_blank');
        newWin.document.write(html);
        newWin.document.close();
        newWin.print();


        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
        parent.layer.close(index); //再执行关闭

    }

</script>

</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>